import request from "@/utils/request";

// 详情数据
export function getDetail(proid) {
    return request.get('/pro/detail/' + proid)
}
// 加入购物车
export function setcart(data) {
    return request({
        url: "/cart/add/",
        method: "POST",
        data: data
    })
}